package com.ease.framework.gef.requests {
   import com.ease.util.collections.HashMap;
   import com.ease.util.collections.Map;

   public class Request {
      private var _type:Object;
      private var _extendedData:Map;

      public function Request(type:Object = null) {
         _type = type;
      }

      public function get type():Object {
         return _type;
      }

      public function set type(type:Object):void {
         _type = type;
      }

      public function get extendedData():Map {
         if (_extendedData == null)
            _extendedData = new HashMap();

         return _extendedData;
      }

      public function set extendedData(extendedData:Map):void {
         _extendedData = extendedData;
      }

   }
}